package com.diy.sigmund.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.diy.sigmund.service.HelloService;
import java.time.LocalDateTime;
import org.springframework.stereotype.Component;

/**
 * @author ylm-sigmund
 * @since 2023/3/27 22:41
 */
@Service
@Component
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        System.out.println("hello " + name + " " + LocalDateTime.now());
        return "hello " + name;
    }
}
